<!DOCTYPE html>
<html>
<head>
    <title>...</title>
    <!--CSS样式 -->
    <meta charset="UTF-8">
    <!--http://www.css88.com/archives/5206  参考-->
    <script type="text/javascript" src="/static/project/js/main/init.js"></script>
    <link rel="stylesheet" href="/static/project/css/all.css">
    <link rel="stylesheet" href="/static/project/plugin/bootstrap-3.3.7-dist/css/bootstrap.css">
</head>
<body>
<div class="main">
    <div class="title col-md-12  navbar-static-top">
        <!--style="width: 100%"-->
        <div class="navbar nav text-center " style="width: 100%">
            <ul class="nav navbar-nav text-center" >
                <li><a href="/">首页</a></li>
                <li><a href="/static/project/view/all.html">全部</a></li>
                <li><a href="#foot">关于</a></li>
                <li class="pull-right" name="Login">
                    <a href="#" name="RegisterAction" data-toggle="modal" data-target="#MyLoginModal" onclick="initRegister()" >注册</a>
                </li>
                <li class="pull-right" name="Login">
                    <a href="#" name="Loginaction" data-toggle="modal" data-target="#MyLoginModal" onclick="initLogin()">登录</a>
                </li>

                <li class="pull-right dropdown hide " name="LoginSucess">
                    <a class="dropdown-toggle" data-toggle="dropdown">
                        <span name="username">我的名字</span><span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/static/project/PersonManage.html">个人管理</a></li>

                        <li class="divider"></li>
                        <li><a href="#" onclick="logout()">注销</a></li>
                    </ul>
                </li>

                <li class="pull-right" style="padding-right: 20px">
                    <input type="text" id="search" class="form-control" placeholder="Search">
                </li>
            </ul>
        </div>
    </div>
</div>
<div>
    <div class="col-md-10 col-md-offset-1" >
        <h2>全部</h2>
        <hr style="color: lightgray">
        <div class="col-md-12" style="float: left" id="contentList">

        </div>
    </div>
    <hr style="color: lightgray;">
    <div class="foot text-center">
        <h3></h3>
    </div>
</div>
<div class="modal fade " id="MyLoginModal" aria-hidden="true">
    <form  action="javascript:void(0)">
        <div class="modal-dialog login-modal">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" onclick="CloseModal()">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">登录</h4>
                </div>
                <div class="modal-body form-horizontal">
                    <div class="form-group">
                        <label for="username" class="col-sm-3 control-label">用户名:</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="username" id="username">
                        </div>
                    </div>
                    <div class="form-group hide">
                        <label for="password" class="col-sm-3 control-label"></label>
                        <div class="col-sm-9">
                            <span class="glyphicon glyphicon-remove text-danger"/><span id="repeatname"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password" class="col-sm-3 control-label">密码:</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="password" id="password">
                        </div>
                    </div>
                    <div class="form-group hide">
                        <label  class="col-sm-3 control-label">确认密码:</label>
                        <div class="col-sm-9">
                            <input type="password" class="form-control" placeholder="password" id="repassword">
                        </div>
                    </div>
                    <div class="form-group hide">
                        <label for="password" class="col-sm-3 control-label"></label>
                        <div class="col-sm-9">
                            <span class="glyphicon glyphicon-remove text-danger"/><span id="Registerwarn"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-4 col-sm-4">
                            <button type="submit" id="login" class="btn btn-success pull-left">登录</button>
                            <button type="submit" id="register" class="btn btn-success pull-left hide">注册</button>
                            <button type="button" onclick="CloseModal()" class="btn-default btn pull-right">取消</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
</body>

</html>
<!-- Js Script -->
<script src="/static/project/js/jquery-3.2.1.js"></script>
<script src="/static/project/plugin/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="/static/project/js/main/login.js"></script>
<script src="/static/project/js/main/getAll.js"></script>
<script type="text/javascript">
    $("#myCarousel").carousel('cycle')
</script>


